xen.git
20 years agoRe-indent xc_linux_restore, and add code to force PAE
kaf24@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 12:48:33 +0000 (12:48 +0000)]
Re-indent xc_linux_restore, and add code to force PAE
root pgdirs below 4GB on restore.

Signed-off-by: Ian Pratt <ian@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 12:32:20 +0000 (12:32 +0000)]
merge?

20 years agoAlways fire watches, even on the connection which caused the watch to fire.
cl349@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 12:31:41 +0000 (12:31 +0000)]
Always fire watches, even on the connection which caused the watch to fire.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoXen_version hypercalls takes two args, not one.
kaf24@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 12:29:40 +0000 (12:29 +0000)]
Xen_version hypercalls takes two args, not one.

Signed-off-by: Ian Pratt <ian@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agomlock argument to version hypercall in libxc.
kaf24@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 12:17:31 +0000 (12:17 +0000)]
mlock argument to version hypercall in libxc.

Signed-off-by: Ian Pratt <ian@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoImprove debug tracing from HYPERVISOR_memory_op().
kaf24@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 12:10:43 +0000 (12:10 +0000)]
Improve debug tracing from HYPERVISOR_memory_op().

Signed-off-by: Ian Pratt <ian@xensource.com>
20 years agoremoving XEN_LOCALVERSION for a smaller alternative
vh249@arcadians.cl.cam.ac.uk [Mon, 12 Sep 2005 10:54:30 +0000 (10:54 +0000)]
removing XEN_LOCALVERSION for a smaller alternative

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
20 years agoRe-indent vmx code.
kaf24@firebug.cl.cam.ac.uk [Sun, 11 Sep 2005 16:44:23 +0000 (16:44 +0000)]
Re-indent vmx code.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoYes, that fixes the problem, our patches crossed. I saw Keir already
kaf24@firebug.cl.cam.ac.uk [Sun, 11 Sep 2005 16:36:24 +0000 (16:36 +0000)]
Yes, that fixes the problem, our patches crossed. I saw Keir already
integrated my patch and while it is harmless, it is redundant and
here is the diff to take it out.

The patch also addresses some indent problems and aligns instructions
up with the rest of the block.

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
20 years agoadd XEN_LOCALVERSION to the dist building process
vh249@arcadians.cl.cam.ac.uk [Sun, 11 Sep 2005 16:34:38 +0000 (16:34 +0000)]
add XEN_LOCALVERSION to the dist building process

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
20 years agoAn FC4/i386 install inside VMX on an x86_64 system fails because byte
kaf24@firebug.cl.cam.ac.uk [Sun, 11 Sep 2005 09:28:21 +0000 (09:28 +0000)]
An FC4/i386 install inside VMX on an x86_64 system fails because byte
size is not handled by __set_reg_value. This patch adds that support.

This patch also reindents Chengyuan Li cmpb patch so that is aligns
with the rest of the code in that block.

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
20 years agoRestore NULL checks before calling kfree().
cl349@firebug.cl.cam.ac.uk [Sat, 10 Sep 2005 20:14:50 +0000 (20:14 +0000)]
Restore NULL checks before calling kfree().
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoadd a simple usage string to xenconsoled
vh249@arcadians.cl.cam.ac.uk [Sat, 10 Sep 2005 14:44:31 +0000 (14:44 +0000)]
add a simple usage string to xenconsoled

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
20 years agofix ballooning out logic to handle dying domain freeing memory.
vh249@arcadians.cl.cam.ac.uk [Sat, 10 Sep 2005 14:43:46 +0000 (14:43 +0000)]
fix ballooning out logic to handle dying domain freeing memory.

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
20 years agouse XEN_FULLVERSION variable where possible
vh249@arcadians.cl.cam.ac.uk [Sat, 10 Sep 2005 14:42:39 +0000 (14:42 +0000)]
use XEN_FULLVERSION variable where possible

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
20 years agoremove pointless NULL check before calling kfree
vh249@arcadians.cl.cam.ac.uk [Sat, 10 Sep 2005 14:41:16 +0000 (14:41 +0000)]
remove pointless NULL check before calling kfree

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
20 years agoconvert initializers to C99 initializers
vh249@arcadians.cl.cam.ac.uk [Sat, 10 Sep 2005 14:38:01 +0000 (14:38 +0000)]
convert initializers to C99 initializers

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
20 years agoWith this patch, 32-bit binary can work on 64-bit VMX guest.
kaf24@firebug.cl.cam.ac.uk [Sat, 10 Sep 2005 14:24:39 +0000 (14:24 +0000)]
With this patch, 32-bit binary can work on 64-bit VMX guest.

Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Asit Mallick <asit.k.mallick@intel.com>
20 years agoThis patch fixes xenlinux timer interrupt.
kaf24@firebug.cl.cam.ac.uk [Sat, 10 Sep 2005 14:22:12 +0000 (14:22 +0000)]
This patch fixes xenlinux timer interrupt.

In xenlinux timer interrupt variable cpu is sometimes uesd in a for
loop, but later it is used to access per cpu data i.e.
per_cpu(processed_system_time, cpu), which causes an invalid pointer.

Signed-off-by: Xin Li <xin.b.li@intel.com>
20 years agoThis patch fix a bug in set_reg_value() for x86_64 VMX guest.
kaf24@firebug.cl.cam.ac.uk [Sat, 10 Sep 2005 14:20:29 +0000 (14:20 +0000)]
This patch fix a bug in set_reg_value() for x86_64 VMX guest.

Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
20 years agoOne more instruction for the VMX MMIO decoder.
kaf24@firebug.cl.cam.ac.uk [Sat, 10 Sep 2005 14:19:09 +0000 (14:19 +0000)]
One more instruction for the VMX MMIO decoder.
This patch is to handle the instruction with opcode 0x80.
Without this patch, the 64-bit VMX guest can't boot.

Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
20 years agoFix bug that service os & vmx guest can't communicate with
kaf24@firebug.cl.cam.ac.uk [Sat, 10 Sep 2005 14:17:02 +0000 (14:17 +0000)]
Fix bug that service os & vmx guest can't communicate with
each other. The bug was physical packets smaller than
minimal packet size of 60 bytes were gettign thrown away.
Hence ARP traffic for example was dropped.

Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
20 years agoFix xm info handling of empty strings (fix bugzilla bug #216)
shand@ubuntu.eng.hq.xensource.com [Fri, 9 Sep 2005 23:11:18 +0000 (15:11 -0800)]
Fix xm info handling of empty strings (fix bugzilla bug #216)

Signed-off-by: Steven Hand <steven@xensource.com>
20 years agoFix 'xm info' (sizeof(param) doesn't do that one might hope).
shand@ubuntu.eng.hq.xensource.com [Fri, 9 Sep 2005 18:36:48 +0000 (10:36 -0800)]
Fix 'xm info' (sizeof(param) doesn't do that one might hope).

Signed-off-by: Steven Hand <steven@xensource.com>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 17:40:39 +0000 (17:40 +0000)]
merge?

20 years agoMake vif cleanup use xstransact and use classmethods for setup.
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 17:36:39 +0000 (17:36 +0000)]
Make vif cleanup use xstransact and use classmethods for setup.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoAdd remove and list support. Also make all class methods "safe".
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 17:34:40 +0000 (17:34 +0000)]
Add remove and list support.  Also make all class methods "safe".
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoOnly retry transactions which fail from timeout.
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 17:03:34 +0000 (17:03 +0000)]
Only retry transactions which fail from timeout.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agocommon/kernel.o contains changeset/compiler info.
kaf24@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 16:26:20 +0000 (16:26 +0000)]
common/kernel.o contains changeset/compiler info.
Blow away on every build.

20 years agocleanups
kaf24@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 16:17:17 +0000 (16:17 +0000)]
cleanups

20 years agoSetup network devices in xenstore using xstransact.
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 16:08:17 +0000 (16:08 +0000)]
Setup network devices in xenstore using xstransact.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoRemove dependency between domain db and path/uuid.
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 16:07:26 +0000 (16:07 +0000)]
Remove dependency between domain db and path/uuid.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoAlways start transactions on an existing path.
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 16:06:04 +0000 (16:06 +0000)]
Always start transactions on an existing path.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoThe patch allows the shadow mode code to support >4GB physical memory. I
kaf24@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 15:52:52 +0000 (15:52 +0000)]
The patch allows the shadow mode code to support >4GB physical memory. I
tested VMX domains on an x86_64 machine with >4GB; it fails without this
change. This should be applicable to PAE as well.

This patch is good for up to 32GB RAM.

Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
20 years agoAdd more version and capability reporting to Xen. Print the results with 'xm info'.
iap10@freefall.cl.cam.ac.uk [Fri, 9 Sep 2005 15:33:32 +0000 (15:33 +0000)]
Add more version and capability reporting to Xen. Print the results with 'xm info'.
Signed-off-by: ian@xensource.com
20 years agopagefault handler fixes.
kaf24@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 13:28:23 +0000 (13:28 +0000)]
pagefault handler fixes.

20 years agoAdd simple transactional read/write python xenstore interface.
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 13:20:51 +0000 (13:20 +0000)]
Add simple transactional read/write python xenstore interface.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoMake error reporting consistent.
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 13:08:25 +0000 (13:08 +0000)]
Make error reporting consistent.
Also note addition of Py_BEGIN_ALLOW_THREADS/Py_END_ALLOW_THREADS
which slipped in in previous merge changeset:  allow other threads
to run during communication with xenstored.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 10:20:25 +0000 (10:20 +0000)]
merge?

20 years agoXenbus implementation ported from Linux to Mini-os, simple thread support introduced
kaf24@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 09:24:25 +0000 (09:24 +0000)]
Xenbus implementation ported from Linux to Mini-os, simple thread support introduced
to simplify the porting. 64 bit version of Mini-os now compiles, but does not work
because of the pagetables and some bits of scheduler not being written.

Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
20 years agoFix blkfront request completion.
kaf24@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 09:13:45 +0000 (09:13 +0000)]
Fix blkfront request completion.

20 years agoIt was suggested on the xen-users list that it would be useful if the
kaf24@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 09:07:59 +0000 (09:07 +0000)]
It was suggested on the xen-users list that it would be useful if the
loopback driver could instantiate an arbitrary number of interfaces, so
the attached patch does that.

[Also retab at the same time]

20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 08:56:38 +0000 (08:56 +0000)]
merge?

20 years agotpmback compilation fix.
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 08:56:14 +0000 (08:56 +0000)]
tpmback compilation fix.
A small patch to fix some compilation problems and debugging output.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoBug fix on x86_64 increase_reservation
iap10@firebug.cl.cam.ac.uk [Thu, 8 Sep 2005 20:39:58 +0000 (20:39 +0000)]
Bug fix on x86_64 increase_reservation
Signed-off-by: ian@xensource.com
20 years agoTest CD needs devfs
iap10@firebug.cl.cam.ac.uk [Thu, 8 Sep 2005 19:14:51 +0000 (19:14 +0000)]
Test CD needs devfs
Signed-off-by: ian@xensource.com
20 years agoNo need to qsort the pfn array in domu builder.
kaf24@firebug.cl.cam.ac.uk [Thu, 8 Sep 2005 17:47:48 +0000 (17:47 +0000)]
No need to qsort the pfn array in domu builder.

20 years agomerge
iap10@freefall.cl.cam.ac.uk [Thu, 8 Sep 2005 17:42:49 +0000 (17:42 +0000)]
merge

20 years agomanual merge
iap10@freefall.cl.cam.ac.uk [Thu, 8 Sep 2005 17:40:37 +0000 (17:40 +0000)]
manual merge

20 years agoBuild fix.
kaf24@firebug.cl.cam.ac.uk [Thu, 8 Sep 2005 17:36:37 +0000 (17:36 +0000)]
Build fix.

20 years agoImproved "PGDs must be under 4GB" handling for PAE.
iap10@freefall.cl.cam.ac.uk [Thu, 8 Sep 2005 17:36:23 +0000 (17:36 +0000)]
Improved "PGDs must be under 4GB" handling for PAE.
Signed-off-by: ian@xensource.com
20 years agoFixes to sub 4GB allocator
iap10@freefall.cl.cam.ac.uk [Thu, 8 Sep 2005 17:35:44 +0000 (17:35 +0000)]
Fixes to sub 4GB allocator
Signed-off-by: ian@xensource.com
20 years agogrant_table.c reindent.
kaf24@firebug.cl.cam.ac.uk [Thu, 8 Sep 2005 17:29:02 +0000 (17:29 +0000)]
grant_table.c reindent.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoRename get_order() to get_order_from_bytes() and add
kaf24@firebug.cl.cam.ac.uk [Thu, 8 Sep 2005 17:25:52 +0000 (17:25 +0000)]
Rename get_order() to get_order_from_bytes() and add
new function get_order_from_pages(). Fix
HYPERVISOR_memory_op(), properly this time.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoCleanups, and fix allocating DMA memory via
kaf24@firebug.cl.cam.ac.uk [Thu, 8 Sep 2005 15:22:01 +0000 (15:22 +0000)]
Cleanups, and fix allocating DMA memory via
HYPERVISOR_memory_op().
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoGive each domain some memory below 4GB. This solves the "PGD's must be below 4GB...
iap10@freefall.cl.cam.ac.uk [Thu, 8 Sep 2005 01:07:15 +0000 (01:07 +0000)]
Give each domain some memory below 4GB. This solves the "PGD's must be below 4GB" for the initial page tables. I'm not sure we'll stick with this approach, but this is good enough for the time being.

PAE should be a *lot* more robust on systems that actually have more than 4GB thanks to all the various patches that went in today. I find it astounding that it ever appeared to work at all!

Signed-off-by: ian@xensource.com
20 years agoYet more PAE fixes, this time in the paravirt drivers.
iap10@freefall.cl.cam.ac.uk [Thu, 8 Sep 2005 01:00:04 +0000 (01:00 +0000)]
Yet more PAE fixes, this time in the paravirt drivers.
Signed-off-by: ian@xensource.com
20 years agoMore tools PAE fixes to avoid loosing high-order pte bits.
iap10@freefall.cl.cam.ac.uk [Wed, 7 Sep 2005 23:11:44 +0000 (23:11 +0000)]
More tools PAE fixes to avoid loosing high-order pte bits.
Signed-off-by: ian@xensource.com
20 years agoReplace direct_remap_area_pages with direct_remap_pfn_range to help fix PAE domain...
iap10@freefall.cl.cam.ac.uk [Wed, 7 Sep 2005 23:10:49 +0000 (23:10 +0000)]
Replace direct_remap_area_pages with direct_remap_pfn_range to help fix PAE domain building.
Signed-off-by: ian@xensource.com
20 years agoFix typo.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 21:35:05 +0000 (21:35 +0000)]
Fix typo.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 21:34:17 +0000 (21:34 +0000)]
merge?

20 years agoMove console tty/limit information into console directory in domain dir.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 21:24:34 +0000 (21:24 +0000)]
Move console tty/limit information into console directory in domain dir.
Also only store port number of console event channel.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoDisable device info getting written to store when xend restarts.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 21:15:41 +0000 (21:15 +0000)]
Disable device info getting written to store when xend restarts.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoDisable sync dbmap saves -- they remove nodes added by other tools.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 21:13:46 +0000 (21:13 +0000)]
Disable sync dbmap saves -- they remove nodes added by other tools.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoCreate /dev/xen/evtchn if it doesn't exist.
shand@ubuntu.eng.hq.xensource.com [Wed, 7 Sep 2005 20:30:00 +0000 (12:30 -0800)]
Create /dev/xen/evtchn if it doesn't exist.

Signed-off-by: Steven Hand <steven@xensource.com>
20 years agoDon't leak memory when realloc fails.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 19:13:38 +0000 (19:13 +0000)]
Don't leak memory when realloc fails.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 19:01:31 +0000 (19:01 +0000)]
merge?

20 years agog/c unused xcs.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 19:01:05 +0000 (19:01 +0000)]
g/c unused xcs.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agog/c unused xu extension.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 18:37:55 +0000 (18:37 +0000)]
g/c unused xu extension.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agog/c unused control message code.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 18:28:04 +0000 (18:28 +0000)]
g/c unused control message code.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoRemove control interface in kernels and domain builder.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 17:43:56 +0000 (17:43 +0000)]
Remove control interface in kernels and domain builder.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agomerge
iap10@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 17:29:17 +0000 (17:29 +0000)]
merge

20 years agoTrivial fix for a nasty PAE bug.
iap10@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 17:28:49 +0000 (17:28 +0000)]
Trivial fix for a nasty PAE bug.
Signed-off-by: ian@xensource.com
20 years agoFix vif scripts for domains with more than one ip.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 17:26:27 +0000 (17:26 +0000)]
Fix vif scripts for domains with more than one ip.
As reported in bug 218 by christian@prehl.de.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoRemove debug printk.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 16:52:49 +0000 (16:52 +0000)]
Remove debug printk.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoAlways bind dom0 virqs to vcpu 0.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 16:50:55 +0000 (16:50 +0000)]
Always bind dom0 virqs to vcpu 0.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoMake xenstored bind to domain exception virq directly, instead of via xcs.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 15:53:04 +0000 (15:53 +0000)]
Make xenstored bind to domain exception virq directly, instead of via xcs.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoRemove python virq code.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 14:19:05 +0000 (14:19 +0000)]
Remove python virq code.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoTrigger domain cleanup on @releaseDomain watch-event instead of domain exc. virq.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 13:41:49 +0000 (13:41 +0000)]
Trigger domain cleanup on @releaseDomain watch-event instead of domain exc. virq.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoFix and cleanup error handling.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 13:40:06 +0000 (13:40 +0000)]
Fix and cleanup error handling.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoAdd copyright notice and g/c some unused code.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 12:49:52 +0000 (12:49 +0000)]
Add copyright notice and g/c some unused code.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 12:48:11 +0000 (12:48 +0000)]
merge?

20 years agoAdd python bindings for watches.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 12:47:45 +0000 (12:47 +0000)]
Add python bindings for watches.
Uses a watcher thread with per-watch registered callbacks.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoBe more sensitive to losing sync with platform timer.
kaf24@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 10:04:54 +0000 (10:04 +0000)]
Be more sensitive to losing sync with platform timer.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agomerge?
kaf24@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 09:50:57 +0000 (09:50 +0000)]
merge?

20 years agoSmall plan9 loader patch from Tim Newsham.
kaf24@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 09:42:47 +0000 (09:42 +0000)]
Small plan9 loader patch from Tim Newsham.

20 years agoExtend save/restore interface to cope with domains >4GB by adding a level of indirection.
iap10@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 02:31:24 +0000 (02:31 +0000)]
Extend save/restore interface to cope with domains >4GB by adding a level of indirection.
Signed-off-by: ian@xensource.com
20 years agoFix dependencies.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 01:03:02 +0000 (01:03 +0000)]
Fix dependencies.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Tue, 6 Sep 2005 18:29:53 +0000 (18:29 +0000)]
merge?

20 years agoUse @releaseDomain watch-events.
cl349@firebug.cl.cam.ac.uk [Tue, 6 Sep 2005 18:29:27 +0000 (18:29 +0000)]
Use @releaseDomain watch-events.
This replaces listening to the domain exception virq through xcs.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoTiny printk info cleanup.
kaf24@firebug.cl.cam.ac.uk [Tue, 6 Sep 2005 18:27:01 +0000 (18:27 +0000)]
Tiny printk info cleanup.

20 years agoThe attached patch fixes two problems I ran into with the swiotlb code
kaf24@firebug.cl.cam.ac.uk [Tue, 6 Sep 2005 18:25:00 +0000 (18:25 +0000)]
The attached patch fixes two problems I ran into with the swiotlb code
in unstable (changeset aeaa3c83f6e5). Tested on a dual Opteron x86-64
machine with 4GB of memory and a tg3 modified to only DMA below 2GB.

- swiotlb_dma_supported() checked that the device DMA mask was equal
or bigger than 4GB, when in fact all that's needed is that the device
be able to DMA into the swiotlb aperture (1GB on my AMD x86-64
machine). Some device are actually only 31-bit DMA capable, so this
would've tripped them.

- On some platforms, PCI unmaps and syncs are nops, so there's no need to
keep track of the dma_addr they need after the initial mapping. The
DMA API supports this via the DECLARE_PCI_UNMAP_ADDR macros (see
Documentation/DMA-mapping.txt). Since the swiotlb code does make us of
the dma_addr for swiotlb_unmap_xxx and (more importantly)
swiotlb_dma_sync_xxx, we need to define them to something
meaningful.

Signed-Off-By: Muli Ben-Yehuda <mulix@mulix.org>
20 years agoExit if xen_setup fails.
cl349@firebug.cl.cam.ac.uk [Tue, 6 Sep 2005 18:18:56 +0000 (18:18 +0000)]
Exit if xen_setup fails.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoAdd @releaseDomain watch-event.
cl349@firebug.cl.cam.ac.uk [Tue, 6 Sep 2005 18:15:06 +0000 (18:15 +0000)]
Add @releaseDomain watch-event.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoDestroy domain before cleaning it up.
cl349@firebug.cl.cam.ac.uk [Tue, 6 Sep 2005 18:14:31 +0000 (18:14 +0000)]
Destroy domain before cleaning it up.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agophys_to_mach and mach_to_phys tables contain long entries, not
kaf24@firebug.cl.cam.ac.uk [Tue, 6 Sep 2005 18:01:24 +0000 (18:01 +0000)]
phys_to_mach and mach_to_phys tables contain long entries, not
32-bit entries.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoAdd xcs to include path for xcs_proto.h.
cl349@firebug.cl.cam.ac.uk [Tue, 6 Sep 2005 17:43:36 +0000 (17:43 +0000)]
Add xcs to include path for xcs_proto.h.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoDisable xcs stop from xend script since it kills xenstored now.
cl349@firebug.cl.cam.ac.uk [Tue, 6 Sep 2005 17:18:28 +0000 (17:18 +0000)]
Disable xcs stop from xend script since it kills xenstored now.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Tue, 6 Sep 2005 17:00:25 +0000 (17:00 +0000)]
merge?

20 years agoMake xenstored listen to domain exception virqs.
cl349@firebug.cl.cam.ac.uk [Tue, 6 Sep 2005 16:59:14 +0000 (16:59 +0000)]
Make xenstored listen to domain exception virqs.
The virq triggers a scan for domains which have gone away, and then
removes those domains.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>